package jm.nj.demo02mian.test01;

public abstract class Cook {
    private String name;
    private  int age;

    //getset

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public abstract void cooking();
}
